package com.example.houseman.controller;


import com.example.houseman.entity.TbPremisesInfo;
import com.example.houseman.service.ITbPremisesInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 楼盘信息表 前端控制器
 * </p>
 *
 * @author 龚梦
 * @since 2021-03-31
 */
@RestController
@RequestMapping("/hou/TbPremisesInfoController")
public class TbPremisesInfoController {

    //测试提交

    @Autowired
    private ITbPremisesInfoService tbPremisesInfoService;

    @RequestMapping("/list")
    public List<TbPremisesInfo> list(){
        return tbPremisesInfoService.list();
    }

}
